#include <stdio.h>
int main()
{
	//4.2
	int a, b, c = 246;
	a = c / 100 % 9;//2
	b = (-1) && (-1);//1
	printf("%d %d\n",a,b);

	//4.3
	int d = -1, e = 4, f;
	f = (++d < 0) && (!b-- <= 0);//0
	printf("%d\n",f);

	//4.4
	int x = 2, y = 3, z = 1, k = 4;
	printf("%d ", (k < x ? k : z < y ? z : x));//(k < x ? (k : (z < y ? z : x)))//1
	return 0;
}